package bu.met.cs664;

/**
 * Created by mcox on 9/18/14.
 */
public enum BoardWinConfigurations {
    TOP_ACROSS (0,1,2),
    MID_ACROSS (3,4,5),
    BOTTOM_ACROSS (6,7,8),
    LEFT_DOWN (0,3,6),
    MID_DOWN (1,4,7),
    RIGHT_DOWN (2,5,8),
    SLASH (6,4,2),
    BACKSLASH (0,4,8);

    int squareOne;
    int squareTwo;
    int squareThree;

    private BoardWinConfigurations(int squareOne, int squareTwo, int squareThree)
    {
        this.squareOne = squareOne;
        this.squareTwo = squareTwo;
        this.squareThree = squareThree;
    }

    public int [] getSquares() {
        return new int [] {squareOne, squareTwo, squareThree};
    }
}
